<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据查询</title>

    <link rel="stylesheet" href="../assets/css/style.css">
    <link rel="stylesheet" href="../assets/css/jquery.treeview.css"/>
    <link rel="stylesheet" href="../assets/css/stylenum.css">
    <link rel="stylesheet" type="text/css" href="../assets/css/ccs_menu-css.css">
    <link rel="stylesheet" type="text/css" href="../assets/css/ccs_style.css">
    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/common.js"></script>
    <script src="../assets/js/jquery.treeview.js" type="text/javascript"></script>
    <script src="../assets/js/json.treeview.js" type="text/javascript" charset="gbk"></script>
    <script type="text/javascript" src="../assets/js/jjs_menu_min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".menu ul li").menu();
        });
    </script>
</head>
<body style="overflow-x: hidden;">
<!--黑幕-->
<div id="darkdiv">

</div>
<div class="iw-top">
    <div class="tj-bj-sj tj-bj-showbg">
        <button type="button" class="tj-bj-btn-return"></button>
        <label>|</label>
        <button type="button" class="tj-bj-btn-zbcx" onclick="changeSearch('zbcx')"></button>
        <button type="submit" class="tj-bj-btn-bycx2" onclick="changeSearch('bycx')"></button>
        <button type="button" class="tj-bj-btn-mbcx2" onclick="changeSearch('mbcx')"></button>
    </div>
</div>
<div class="iw-main">

    <div class="iw-main-left">
        <ul class="JS_tab tj-tab">
            <li class="JS_name tj-active">组织机构</li>
            <li class="JS_name">行政区划</li>
        </ul>
        <div class="JS_panel">
            <div class="tj-tab-panel">
                <ul id="tree" class="filetree">
                    <li></li>
                </ul>
            </div>
            <div class="tj-tab-panel undis" style="margin-top: 0;padding-top: 10px;">
                <ul id="tree1" class="filetree">
                    <li></li>
                </ul>

            </div>
        </div>
        <div class="jg-hdk" style="width: 100%;margin:10px 0 0 0;">
            <img class="ml10" src="../assets/img/jg-up.jpg">
            <img src="../assets/img/jg-down.jpg">
        </div>
        <div>
            <div class="tj-ewbb-span" style="margin-top: 0;border-bottom: 1px solid #34a7e0;">
                <img class="ml20" src="../assets/img/ewbb-jt.png"><span style="color: #248dc1;">报表列表</span>
            </div>
            <select class="tj-sj-sel">
                <option>2016年企业一套表统计（定报）调查制度</option>
            </select>

            <div id="content">
                <div class="menu">
                    <ul>
                        <li><a class="active" href="javascript:void(0)">通表[TB]</a>
                            <ul style="display: block;">
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>
                        <li><a href="javascript:void(0)">通表[TB]</a>
                            <ul>
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>
                        <li><a href="javascript:void(0)">通表[TB]</a>
                            <ul>
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>
                        <li><a href="javascript:void(0)">通表[TB]</a>
                            <ul>
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>
                        <li><a href="javascript:void(0)">通表[TB]</a>
                            <ul>
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>
                        <li><a href="javascript:void(0)">通表[TB]</a>
                            <ul>
                                <li><a href="#">201-1:法人单位基本...</a></li>
                                <li><a href="#">202-1:从业人员及工...</a>
                                </li>
                                <li><a href="#"> SI202-1:企业用工...</a></li>
                                <li><a href="#">XI501:主要行业生产经...</a>
                                </li>
                                <li><a href="#">XI551:工业企业“营改...</a></li>
                                <li><a href="#">XI552:联网直报企业“...</a></li>
                            </ul>
                        </li>


                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="iw-main-right" style="background-color: #ffffff;">
        <div class="jg-title">
            <img src="../assets/img/titlebg.jpg"><span style="font-weight: 100;">查询</span>
        </div>
        <div class="jg-main">
            <table cellspacing="0" cellpadding="0" class="jg-table">
                <tr>
                    <td width="130" class="jg-table-tdname">表号</td>
                    <td width="205">
                        <input class="jg-input3" type="text" value="">
                    </td>
                    <td width="130" class="jg-table-tdname">报告期</td>
                    <td width="205"><select>
                        <option>请选择</option>
                        <option>201-2</option>
                        <option>201-3</option>
                    </select></td>
                    <td width="130" class="jg-table-tdname">历史报告期</td>
                    <td width="205"><select class="jg-sel">
                        <option>请选择</option>
                        <option>201-2</option>
                        <option>201-3</option>
                    </select> <select class="jg-sel">
                        <option>请选择</option>
                        <option>201-2</option>
                        <option>201-3</option>
                    </select></td>
                </tr>
                <tr>
                    <td class="jg-table-tdname">指标查询</td>
                    <td colspan="3"><input class="jg-input3" type="text" value="">
                        <select class="jg-sel">
                            <option>请选择</option>
                            <option>201-2</option>
                            <option>201-3</option>
                        </select>
                        <input class="jg-input" type="text" value="">
                    </td>
                    <td class="jg-table-tdname">数据状态</td>
                    <td><select>
                        <option>已上报与返回修改</option>
                        <option>201-2</option>
                        <option>201-3</option>
                    </select></td>
                </tr>
                <tr>
                    <td class="jg-table-bottom" colspan="6">
                        <button type="button" class="jg-btn-search" onclick="searchResult();"></button>
                    </td>
                </tr>
            </table>
        </div>
        <!--查询结果-->
        <div class="jg-search">
            <div id="jg-result">
                <div class="JS_shgxtab tj-shgx-tab" style="margin-left: 0;">
                    <div class="tj-shgx-tabname fl tj-active">单位情况</div>
                    <div class="tj-shgx-tabname fl">202-1</div>
                    <a onclick="showXdesk();" href="javascript:void(0)" class="fl">添加</a>
                </div>

                <div class="clearfix"></div>
                <div class="JS_shgxpanel">
                    <div class="tj-shgx-panel">
                        <div class="num_table" style="width: 100%;margin: 0;">
                            <table cellpadding="0" cellspacing="0" style="width: 100%;">
                                <tr class="num_table_firsttr">
                                    <td width="200">指标</td>
                                    <td width="645">过滤条件
                                    </td>
                                    <td width="160">关联
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><span>从第<input class="tj-bj-input" type="text" value="1">位取<input
                                            class="tj-bj-input"
                                            type="text" value=""></span>
                                        <select class="tj-cj-sel">
                                            <option>请选择</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select><input class="tj-sj-input2" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><span>从第<input class="tj-bj-input" type="text" value="1">位取<input
                                            class="tj-bj-input"
                                            type="text" value=""></span>
                                        <select class="tj-cj-sel">
                                            <option>请选择</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select><input class="tj-sj-input2" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><select class="tj-cj-sel">
                                        <option>请选择</option>
                                        <option>201-2</option>
                                        <option>201-3</option>
                                    </select><input class="tj-sj-input" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>组织机构代码</td>
                                    <td><span>从第<input class="tj-bj-input" type="text" value="1">位取<input
                                            class="tj-bj-input"
                                            type="text" value=""></span>
                                        <select class="tj-cj-sel">
                                            <option>请选择</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select><input class="tj-sj-input2" type="text" value=""></td>
                                    <td>
                                        <select class="tj-cj-sel">
                                            <option>并且</option>
                                            <option>201-2</option>
                                            <option>201-3</option>
                                        </select>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="tj-shgx-panel undis">
                        <div class="tj-shgx-pmain" style="margin-left: 0;">
                            <div class="tj-bbzd-table-style" style="width: 840px;overflow: auto;margin-top: 20px;padding-bottom: 20px;">
                                <div class="tj-bbzd-title">法人单位基本情况</div>
                                <div class="tj-bbzd-tabletop">
                                    <div class="fl tj-tbtop-left mt20" style="margin-left: 0;">
                                        <div style="margin-top: 30px;">
                                            <span>组织机构代码:</span>
                                            <input type="text" style="width: 120px;" value="2016年11月"><br>
                                            <span>单位详细名称:</span>
                                            <input type="text" style="width: 120px;" value="南通自来水公司">
                                            <input type="text" style="width: 60px;" value="2012年">
                                        </div>
                                    </div>
                                    <div class="fr tj-tbtop-right" style="margin: 0;">
                                        <div><label class="lt2">表</label>样：<input type="text" value="B201-1表"></div>
                                        <div>制表机关：<input type="text" value="国家统计局"></div>
                                        <div><label class="lt2">文</label>号：<input type="text" value="国统字〔2015〕95号"></div>
                                        <div>有限期至：<input type="text" value="2017年 1月"></div>
                                    </div>
                                </div>
                                <div style="height:440px;overflow-y: scroll;margin-top: 10px;">
                                    <table cellspacing="0" cellpadding="0" class="jg-table jg-table4" style="margin: 0;width: 100%;">
                                        <tr>
                                            <td width="60" class="jg-table-tdname">101</td>
                                            <td width="344">组织机构代码：<input type="text" class="jg-input2" value="050224459"></td>
                                            <td width="60" class="jg-table-tdname">102</td>
                                            <td width="344">单位详细名称：<input type="text" class="jg-input2" value="江苏丰益化工科技有限公司"></td>
                                        </tr>
                                        <tr>
                                            <td width="60" class="jg-table-tdname">109</td>
                                            <td width="344">第一社会用编码：<input type="text" class="jg-input2" value="91320681050224459W"></td>
                                            <td width="60" class="jg-table-tdname"></td>
                                            <td width="344"></td>
                                        </tr>
                                        <tr>
                                            <td width="60" class="jg-table-tdname" rowspan="2">103</td>
                                            <td colspan="3" style="padding-bottom: 5px;">
                                                行业代码（GB/T 4754-2011）<br>
                                                主要业务活动（或主要产品） ：<br>
                                                1.<input type="text" class="jg-input2" value="十二烷基硫酸钠制造">
                                                2.<input type="text" class="jg-input2" value="C16-18醇制造">
                                                3.<input type="text" class="jg-input2">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="3">行业代码：<input type="text" class="jg-input2" value="050224459"></td>
                                        </tr>
                                        <tr>
                                            <td width="60" class="jg-table-tdname">104</td>
                                            <td colspan="3" style="padding-bottom: 5px;">
                                                报表类别：<input type="text" class="jg-input2" value="B"><br>
                                                <span>A、农业 </span> <span>  B、规模以上工业           </span> <span> B1、规模以下工业    </span> <span>                C、建筑业    </span>
                                                <span>      E、批发和零售业</span><br>
                                                <span> S、住宿和餐饮业 </span> <span>   X、房地产开发经营业       </span> <span>   F、规模以上服务业     </span> <span>    H、投资             </span>
                                                <span>  U、其他</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="60" class="jg-table-tdname">105</td>
                                            <td colspan="3" style="padding-bottom: 5px;">
                                                报表类别：<input type="text" class="jg-input2" value="B"><br>
                                                <span>A、农业 </span> <span>  B、规模以上工业           </span> <span> B1、规模以下工业    </span> <span>                C、建筑业    </span>
                                                <span>      E、批发和零售业</span><br>
                                                <span> S、住宿和餐饮业 </span> <span>   X、房地产开发经营业       </span> <span>   F、规模以上服务业     </span> <span>    H、投资             </span>
                                                <span>  U、其他</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="60" class="jg-table-tdname" rowspan="2">106</td>
                                            <td colspan="3" style="padding-bottom: 5px;">
                                                行业代码（GB/T 4754-2011）<br>
                                                主要业务活动（或主要产品） ：<br>
                                                1.<input type="text" class="jg-input2" value="十二烷基硫酸钠制造">
                                                2.<input type="text" class="jg-input2" value="C16-18醇制造">
                                                3.<input type="text" class="jg-input2">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="3">行业代码：<input type="text" class="jg-input2" value="050224459"></td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="sj-bycx">
                    <div class="jg-hdk" style="width: 100%;margin:10px 0 0 0;line-height: 14px;">
                        <img class="ml10" src="../assets/img/jg-up.jpg">
                        <img src="../assets/img/jg-down.jpg">
                    </div>
                    <div style="border: 1px solid #34a7e0;border-top: 0;height: 120px;">
                        <div class="tj-ewbb-span" style="margin-top: 0;border-bottom: 1px solid #34a7e0;">
                            <img class="ml20" src="../assets/img/ewbb-jt.png"><span style="color: #248dc1;">过滤条件</span>
                            <span>|</span>
                            <span style="color: #248dc1;">报告期：</span>
                            <span>本期</span>
                            <button type="button" class="tj-sj-btn" onclick="openAllDesk('iw-sxtj')">切换</button>
                            <button type="button" class="tj-sj-btn" onclick="openAllDesk('sj-xzjsl')">计算列</button>
                            <button type="button" class="tj-sj-btn" onclick="openAllDesk('sj-bs')">标识</button>
                            <button type="button" class="tj-sj-btn" onclick="openAllDesk('sj-lbbl')">列表变量</button>
                        </div>
                    </div>
                </div>
                <div class="jg-bottom-btn mt20" style="text-align: center;">
                    <button type="button" class="tj-bj-btn-xszb"></button>
                    <button type="button" class="tj-bj-btn-bcmb"></button>
                    <button type="button" class="tj-bj-btn-dc"></button>
                    <button type="button" class="jg-btn-search"></button>
                </div>
            </div>
        </div>
    </div>
</div>

<!--标识-->
<div id="sj-bs" class="openbg">
    <div class="cwqd-desk">
        <div class="remindtop"><span>选择标识</span><img onclick="closeDark();closeAllDesk('sj-bs');"
                                                     src="../assets/img/showclose.jpg"></div>
        <div style="overflow-y: scroll;overflow-x: hidden;padding-bottom: 10px;width: 92%;margin: 10px auto;height: 240px;">
            <div class="num_table2" style="width: 100%;margin: 0;">
                <table cellpadding="0" cellspacing="0" style="width: 100%;">
                    <tr>
                        <td width="55" class="td-mid">1</td>
                        <td width="89">201-1</td>
                        <td width="224">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid" width="98">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">2</td>
                        <td width="89">201-1</td>
                        <td width="224">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">3</td>
                        <td width="89">201-1</td>
                        <td width="224">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">4</td>
                        <td width="89">201-1</td>
                        <td width="224">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">5</td>
                        <td width="89">201-1</td>
                        <td width="89">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">6</td>
                        <td width="89">201-1</td>
                        <td width="89">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">7</td>
                        <td width="89">201-1</td>
                        <td width="89">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">8</td>
                        <td width="89">201-1</td>
                        <td width="89">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                    <tr>
                        <td width="55" class="td-mid">1</td>
                        <td width="89">201-1</td>
                        <td width="89">
                            E95:是否当年新分配E204-2表单位
                        </td>
                        <td width="418"><input type="checkbox"><span>当年新分配E204-2表单位</span><input class="ml20"
                                                                                                 type="checkbox"><span>其他单位</span>
                        </td>
                        <td class="td-mid">
                            <button type="button" class="tb-look">确定</button>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="add-desk-mbtn">
            <button type="button" onclick="closeAllDesk('sj-bs');"
                    style="background-color: #a4aaad;margin-right: 20px;">取消
            </button>
        </div>
    </div>
</div>
<!--列表变量-->
<div id="sj-lbbl" class="openbg">
    <div class="gljb-desk">
        <div class="remindtop"><span>选择列表变量</span><img onclick="closeDark();closeAllDesk('sj-lbbl');"
                                                       src="../assets/img/showclose.jpg"></div>
        <table cellpadding="0" cellspacing="0" style="width: 92%;margin-left: 4%;"
               class="add-desk-table2 add-desk-table mt10">
            <tr class="tj-table-firsttr">
                <td width="338">变量名称</td>
                <td width="140">操作</td>
            </tr>
            <tr>
                <td>百家80</td>
                <td class="td-mid"><img onclick="openAllDesk('sj-lbblwh')" src="../assets/img/btn-do.jpg"><img
                        class="ml10" src="../assets/img/btn-del.jpg"></td>
            </tr>
            <tr>
                <td>百家80</td>
                <td class="td-mid"><img onclick="openAllDesk('sj-lbblwh')" src="../assets/img/btn-do.jpg"><img
                        class="ml10"
                        src="../assets/img/btn-del.jpg"></td>
            </tr>
            <tr>
                <td>百家80</td>
                <td class="td-mid"><img onclick="openAllDesk('sj-lbblwh')" src="../assets/img/btn-do.jpg"><img
                        class="ml10"
                        src="../assets/img/btn-del.jpg"></td>
            </tr>
            <tr>
                <td>百家80</td>
                <td class="td-mid"><img onclick="openAllDesk('sj-lbblwh')" src="../assets/img/btn-do.jpg"><img
                        class="ml10"
                        src="../assets/img/btn-del.jpg"></td>
            </tr>
            <tr>
                <td>百家80</td>
                <td class="td-mid"><img onclick="openAllDesk('sj-lbblwh')" src="../assets/img/btn-do.jpg"><img
                        class="ml10"
                        src="../assets/img/btn-del.jpg"></td>
            </tr>

        </table>
        <div style="color: red;margin-left: 13px;margin-top: 10px;">
            注：没有被任何模版使用的变量可以删除。
        </div>
        <div class="add-desk-mbtn">
            <button type="button" onclick="openAllDesk('sj-lbblwh')">新增</button>
            <button type="button" onclick="closeAllDesk('sj-lbbl');" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>
</div>
<!--列表变量维护-->
<div id="sj-lbblwh" class="openbg">
    <div class="lbblwh-desk">
        <form>
            <div class="remindtop"><span>选择列表变量</span><img onclick="closeDark();closeAllDesk('sj-lbblwh');"
                                                           src="../assets/img/showclose.jpg"></div>

            <table cellpadding="0" cellspacing="0" style="width: 92%;margin-left: 4%;"
                   class="add-desk-table2 add-desk-table mt10">
                <tr>
                    <td width="120" class="td-mid">变量名称</td>
                    <td width="360"><input class="tj-bj-input" type="text" value="">
                    </td>
                </tr>
                <tr>
                    <td class="td-mid">变量描述</td>
                    <td><input type="text" class="tj-bj-input" value=""></td>
                </tr>
                <tr>
                    <td class="td-mid">变量值</td>
                    <td><textarea
                            style="width: 334px;height: 80px;resize: none;border: 1px solid #ccc;text-align: left;margin-top: 5px;line-height: 17px;"></textarea>
                    </td>
                </tr>
            </table>

            <div style="color: red;margin-left: 13px;margin-top: 10px;">
                注：【变量值】一行表示一条数据.
            </div>
            <div class="add-desk-mbtn">
                <button type="button" onclick="closeAllDesk('sj-lbblwh');">保存</button>
                <button type="button" onclick="reset()">清空</button>
                <button type="button" onclick="closeAllDesk('sj-lbblwh');" style="background-color: #a4aaad;">取消
                </button>
            </div>
        </form>
    </div>
</div>
<!--切换-->
<div id="iw-sxtj" class="openbg">
    <div class="gljb-desk">
        <div class="remindtop"><span>选择其他报告期</span><img onclick="closeDark();closeAllDesk('iw-sxtj');"
                                                        src="../assets/img/showclose.jpg"></div>
        <div style="height: 275px;overflow-y: scroll;">
            <table cellpadding="0" cellspacing="0" style="width: 92%;margin-left: 4%;"
                   class="add-desk-table2 add-desk-table3 mt20">
                <tr>
                    <td width="40"><input type="radio" name="bgq" checked="checked"></td>
                    <td width="405">上期[2]</td>
                </tr>
                <tr class="tj-table-dd">
                    <td><input type="radio" name="bgq"></td>
                    <td>上上期[3]</td>
                </tr>
                <tr>
                    <td><input type="radio" name="bgq"></td>
                    <td>上三期[4]</td>
                </tr>
                <tr class="tj-table-dd">
                    <td><input type="radio" name="bgq"></td>
                    <td>去年同期[5]</td>
                </tr>
                <tr>
                    <td><input type="radio" name="bgq"></td>
                    <td>去年同期上期[6]</td>
                </tr>
                <tr class="tj-table-dd">
                    <td><input type="radio" name="bgq"></td>
                    <td>去年同期上上期[7]</td>
                </tr>

                <tr>
                    <td><input type="radio" name="bgq"></td>
                    <td>去年同期下期[8]</td>
                </tr>
                <tr class="tj-table-dd">
                    <td><input type="radio" name="bgq"></td>
                    <td>2016年第4季度[201604SS]</td>
                </tr>
                <tr>
                    <td><input type="radio" name="bgq"></td>
                    <td>2016年第5季度[201603SS]</td>
                </tr>
                <tr class="tj-table-dd">
                    <td><input type="radio" name="bgq"></td>
                    <td></td>
                </tr>
            </table>
        </div>
        <div class="ml20 mt5">
            <span>历史报告期</span>
            <select class="tj-cj-sel ml10" style="width: 120px;">
                <option>请选择</option>
            </select>
            <select class="tj-cj-sel" style="width: 120px;">
                <option>请选择</option>
            </select>
        </div>
        <div class="add-desk-mbtn">
            <button type="button" onclick="closeAllDesk('iw-sxtj');">确定</button>
            <button type="button" onclick="closeAllDesk('iw-sxtj');" style="background-color: #a4aaad;">关闭</button>
        </div>
    </div>
</div>
<!--选择计算列-->
<div id="sj-xzjsl" class="openbg">
    <div class="gljb-desk">
        <div class="remindtop"><span>选择计算列</span><img onclick="closeDark();closeAllDesk('sj-xzjsl');"
                                                      src="../assets/img/showclose.jpg"></div>
        <div class="mt10">
            <span class="ml20">计算列名称：<input type="text" class="tjjg-input"><button type="button " class="jg-btn">定位
            </button></span>
        </div>
        <div class="num_table">
            <table cellpadding="0" cellspacing="0" style="width: 92%;margin-left: 4%;">
                <tr class="num_table_firsttr">
                    <td width="64">序号</td>
                    <td width="99">名称</td>
                    <td width="72">表达式</td>
                    <td width="81">包含表</td>
                    <td width="74">创建人</td>
                    <td width="83">操作</td>
                </tr>
                <tr>
                    <td colspan="6"><img src="../assets/img/img-gth.jpg" style="vertical-align: middle;"><span
                            style="color: red;margin-left: 5px;">统计局没有对改企业做验收操作</span></td>
                </tr>
            </table>
        </div>
        <div class="add-desk-mbtn">
            <button type="button" onclick="closeAllDesk('sj-xzjsl');" style="background-color: #a4aaad;">关闭</button>
        </div>
    </div>
</div>
<!--运算符-->
<div id="numuse">
    <div class="numuse-top">
        运算符
    </div>
    <span>算术运算符</span>
    <ul>
        <li>左括号</li>
        <li>右括号</li>
        <li style="color: red">截取</li>
        <li style="color: red">长度</li>
        <li style="color: red">绝对值</li>
        <li>等于</li>
        <li>大于</li>
        <li>大于等于</li>
        <li>小于</li>
        <li>小于等于</li>
        <li>区间</li>
        <li>包含</li>
        <li>前缀</li>
        <li>后缀</li>
        <li>列表</li>
        <li>非列表</li>
        <li>为空</li>
        <li>不等于</li>
        <li>不包含</li>
        <li>非前缀</li>
        <li>非后缀</li>
        <li>不为空</li>
    </ul>
    <span>逻辑运算符</span>
    <ul>
        <li>并且</li>
        <li>或者</li>
    </ul>
</div>
<script type="text/javascript">
    var changetext = 0;
    $(document).ready(function () {
        $(".JS_tab .iw-main-tabname").click(function () {
            $(".iw-active").removeClass("iw-active");
            $(this).addClass("iw-active");
            $(".JS_panel .iw-right-pannel").addClass("undis");
            $(".JS_panel .iw-right-pannel")[$(".JS_tab .iw-main-tabname").index(this)].className = "iw-right-pannel";
        });
        $("#darkdiv").click(function () {
            closeDark();
        });

    });
    var _static = "zbcx";
    function changeSearch(m) {
        var _change = "tj-bj-btn-" + _static + "2";
        $(".tj-bj-btn-" + _static)[0].className = _change;
        _static = m;
        var _change2 = ".tj-bj-btn-" + _static + "2";
        $(_change2)[0].className = "tj-bj-btn-" + _static;
        if (m == "zbcx") {

        }
        else if (m == "bycx") {
            document.getElementById("numuse").style.display = "block";
            document.getElementById("sj-bycx").style.display = "block";
            $(".tj-bj-btn-xszb").css("display", "inline-block");
        }
        else {

        }
    }
</script>
<script>
    var flag = false;
    var cur = {
        x: 0,
        y: 0
    };
    var nx, ny, dx, dy, x, y;
    function down() {
        flag = true;
        var touch;
        if (event.touches) {
            touch = event.touches[0];
        } else {
            touch = event;
        }
        cur.x = touch.clientX;
        cur.y = touch.clientY;
        dx = div2.offsetLeft;
        dy = div2.offsetTop;
    }
    function move() {
        if (flag) {
            var touch;
            if (event.touches) {
                touch = event.touches[0];
            } else {
                touch = event;
            }
            nx = touch.clientX - cur.x;
            ny = touch.clientY - cur.y;
            x = dx + nx;
            y = dy + ny;
            div2.style.left = x + "px";
            div2.style.top = y + "px";
            //阻止页面的滑动默认事件
            document.addEventListener("touchmove", function () {
                event.preventDefault();
            }, false);
        }
    }
    //鼠标释放时候的函数
    function end() {
        flag = false;
    }
    var div2 = document.getElementById("numuse");
    div2.addEventListener("mousedown", function () {
        down();
    }, false);
    div2.addEventListener("touchstart", function () {
        down();
    }, false)
    div2.addEventListener("mousemove", function () {
        move();
    }, false);
    div2.addEventListener("touchmove", function () {
        move();
    }, false)
    document.body.addEventListener("mouseup", function () {
        end();
    }, false);
    div2.addEventListener("touchend", function () {
        end();
    }, false);
</script>
<script type="text/javascript">
    var changetext = 0;
    $(document).ready(function () {
        $(".JS_tab li").click(function () {
            if ($(".JS_tab li").index(this) == 1) {
                changetext = 1;
                $(".tj-bj-show").removeClass("undis");
            }
            else {
                changetext = 0;
                $(".tj-bj-show").addClass("undis");
            }
            $(".tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_panel .tj-tab-panel").addClass("undis");
            $(".JS_panel .tj-tab-panel")[$(".JS_tab li").index(this)].className = "tj-tab-panel";
        });
        $(".JS_table tr").click(function () {
            if ($(this)[0].className != "tj-table-firsttr") {
                if ($(this)[0].className != "tj-table-selecttr") {
                    $(".tj-table-selecttr input")[0].readOnly = true;
                    $(".tj-table-selecttr input")[1].readOnly = true;
                    $(".tj-table-selecttr input")[2].readOnly = true;
                }
                $(".tj-table-selecttr").removeClass("tj-table-selecttr");
                $(this).addClass("tj-table-selecttr");
            }
        });
        $(".JS_table tr").dblclick(function () {
            if (changetext == 1) {
                if ($(this)[0].className != "tj-table-firsttr") {
                    $(".tj-table-selecttr").removeClass("tj-table-selecttr");
                    $(this).addClass("tj-table-selecttr");
                    $(".tj-table-selecttr input")[0].readOnly = false;
                    $(".tj-table-selecttr input")[1].readOnly = false;
                    $(".tj-table-selecttr input")[2].readOnly = false;
                }
            }
        });

        $(".JS_shgxtab .tj-shgx-tabname").click(function () {
            $(".JS_shgxtab .tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_shgxpanel .tj-shgx-panel").addClass("undis");
            $(".JS_shgxpanel .tj-shgx-panel")[$(this).index()].className = "tj-shgx-panel";
        });
    });

</script>
</body>
</html>